home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
726-750
/
731
/
qmouse
/
qmouse.doc
< prev
next >
Wrap
Text File
|
1995-03-18
|
8KB
|
240 lines
QMouse V2.20
Written by Dan Babcock
-- This program REQUIRES Kickstart 2.0 or higher. --
I missed one program more than any other when I switched to
Kickstart 2.0: QMouse, the venerable mouse-utility. I tried every
other program of its type that I could find, but every utility I
tried had quirks, lacked important features, and worst of all was
HUGE. Discouraged (and annoyed), I decided to write my own.
QMouse 2.0 (this program) is a completely new program, not an
update to QMouse, but I couldn't think of a more fitting name;
after all, my intent was to make a utility "like QMouse" - why
not call it QMouse!? I hope this doesn't lead to too much
confusion. On to the all-important feature list...
FEATURES:
* Automatic window activation after Amiga-M and Amiga-N: the
previously active window will be made active. VERY useful!!! Does
not poke screen structure like the original QMouse did (bad :-)).
* Optional top-line blanking for 2320/3000 owners who wish to
mask the "half line flicker" effect. Does not blank the border,
just the top line.
* System-friendly mouse blanking. Uses only the documented
function SetPointer. Does not interfere with other sprites (e.g.
JRComm's cursor).
* Mouse acceleration/threshold
* "PopCLI" feature. The CLI (actually any program may be
executed) will have a sensible current directory, stack, and
path.
* Click-to-front and click-to-back. New for V2.02: Click-to-Back
will intelligently decide whether to perform a Window-To-Back or
Screen-To-Back operation.
* SunMouse (activates window under mouse pointer). Personally I
don't care for this feature, but if you like it, it's here.
* Screen blanking. No special effects; use another program for
that stuff.
* NoClick - turn off drive clicking for any combination of
drives.
* Can turn on the shell's *=#? feature (like "WildStar" etc.)
* Option to completely disable DisplayBeep (some programs overuse
it and it gets VERY annoying!)
* Option to remap a few Northgate keys. (Note: Omnikey Ultra
model)
* Starts own background process (no need to RUN).
* Written in assembly (efficient). Not a commodity.
* Fully public domain. Source code included.
* ONLY 3K !!!!!!!!!!!
-------
Changes
-------
V2.02 -> V2.10
Adds a couple simple options (e.g. noclick and wildstar), and
some internal changes permit left-amiga-cursor mouse movements to
work with mouse blanking enabled. V2.10 was released on Fish 697.
V2.10 -> V2.20
Older versions (pre-2.11) of QMouse had a serious memory-trashing
bug. This is fixed thanks to Chris Schneider.
The problem with the NoFlicker option and virtical overscan,
reported by several people, has been fixed.
The "PopCLI" feature now brings the Workbench screen to the
front.
-----------------
Using QMouse V2.0
-----------------
To see the parameter template type "Qmouse ?". Most likely it
looks like gibberish to you, though, so I'll explain the options:
(Please note: If you don't specify an option, the option is OFF.
The default set of options is therefore all OFF, except for some
basic features that don't have an option).
MBLANK (abbreviated M):
This specifies the number of seconds of mouse inactivity
before the mouse pointer is blanked. The mouse pointer is also
blanked whenever you hit a key.
Side note: Many people claim that it is impossible to blank the
mouse in a "system-friendly" way. They're wrong. :-)
Examples: m=3, mblank=9, M 10
SBLANK (abbreviated S):
Screen blanking - works same as mouse blanking basically. See
"bugs" section for a possible (unconfirmed) bug.
NOFLICKER (abbreviated N):
This option will blank the top line of the display. (Only useful
to 2320/3000 owners). This function inspects the system copper
list, so it probably won't work in future Kickstarts.
Note: If a screen with extreme virtical overscan is being
displayed, QMouse will automatically turn this feature off. To
get rid of the flicker simply drag the screen down a few lines.
CMD:
Specifies the command to execute when the user hits left-Amiga-
ESCape. Default is "newcli". Use like this: CMD="newcli
con:0/0/640/400". Important!!! The current directory, stack, and
path of the newly created CLI will be that of the CLI where
QMouse was originally executed. Therefore, place QMouse in your
startup-sequence *after* STACK and PATH commands!!
ACCELERATION (abbreviated A):
Specifies mouse speed-up factor. QMouse uses the same
acceleration/threshold algorithm as DMouse, by the way (I got
used to the feel).
Examples: acceleration 3, a=4, a 9
THRESHOLD (abbreviated T):
Specifies a threshold (minimum movement) required to apply
acceleration factor. The default is zero. Example: T=1.
CLICKTOBACK (abbreviated CTB):
Specifying "ctb" or "clicktoback" will enable a feature whereby
both mouse buttons being pressed simultaneously will send the
window under the mouse pointer to the back, OR, if the mouse is
not over a window, or if the window is a backdrop window, or if
the window is the only non-backdrop window on its screen, then a
screen-to-back operation will be performed instead.
CLICKTOFRONT (abbreviated CTF):
This option specifies the number of mouse clicks required to
bring the window under the mouse pointer to the front. Example:
ctf=2.
SUNMOUSE:
Specifying "sunmouse" turns on the "Sun Mouse" feature. I don't
recommend you use it because it's annoying and causes problems
with some programs. (Unless you happen to like it :-)).
NOBEEP:
Completely disables DisplayBeep (the routine that flashes the
screen).
NORTHGATE:
For Northgate Omnikey Ultra keyboard users only: remaps a couple
keys. (Page Up -> Shift-Cursor-Up, etc). Sorry, if you want to
change it you'll have to edit the source and reassemble.
NOCLICK:
Turns off drive clicking option in trackdisk, just like many 2.0-
only 'noclick' programs. The argument to this option is a decimal
number whose (4-bit) binary equivalent corresponds to what drives
should receive the noclick treatment. For example, the number 3
is "0011" in binary, and means drives 0 and 1 (but not 2 and 3)
should be NoClick'ed. To turn off clicking on all drives, specify
NOCLICK=15. Note: This is a toggle.
Important: If you drive makes funny clicks after using NoClick,
reboot immediately - you can damage a drive that doesn't support
NoClick (which is why the OS defaults to the "clicking" mode).
VERIFY:
Toggles the floppy disk verify feature of Hackdisk (my
trackdisk.device replacement). If you aren't using Hackdisk this
option is useless. (Actually it's probably useless even if you
ARE using Hackdisk since verify should always be on :-)).
STAR:
Toggles the *=#? shell feature, similar to programs called
"WildStar" etc.
QUIT:
Completely de-installs QMouse. Note that executing QMouse when
already installed will cause a QUIT to happen first. Due to
extensive SetFunction-ing of the OS, this is considered unsafe.
So please, use only for initial testing (i.e. deciding what
features of QMouse you like and which you don't, etc). Once
you're happy, put QMouse in your startup-sequence and don't mess
with it.
Important: If you run another program that SetFunctions some of
the same routines (for example ARQ) you will not be able to QUIT
or modify parameters. Future versions of QMouse may handle this
better.
----
Bugs
----
A user reported that using the screen blanking caused system
clock problems. One possible explaination is that the crude
method of screen blanking (turning off display DMA) might be
excluding virtical blanking interrupts. I haven't been motivated
enough to investigate, so I can't confirm this report. If it's a
problem, by all means use another program for screen blanking.
----------
The Author
----------
If you want to contact me for some reason, please send email to
Dan_E_Babcock@cup.portal.com. Thanks to those nice folks who sent
feedback.